composer update

This commit is contained in:
2019-12-01 06:37:45 +00:00
parent fa199eef05
commit 3115ab75a5
3650 changed files with 72361 additions and 147137 deletions

View File

@@ -1,7 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto
*.png binary
tests/ export-ignore
phpunit.xml.dist export-ignore

View File

@@ -1,3 +0,0 @@
/composer.phar
/composer.lock
/vendor/*

View File

@@ -1,4 +0,0 @@
build:
environment:
variables:
COMPOSER_ROOT_VERSION: '1.8.0'

View File

@@ -1,40 +0,0 @@
language: php
sudo: false
env:
global:
- COMPOSER_ROOT_VERSION=1.8.0
php:
- '7.1'
- '7.2'
- nightly
matrix:
fast_finish: true
include:
- php: '7.1'
env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache/files
install:
- composer update --no-interaction --no-progress --no-suggest --prefer-dist $COMPOSER_FLAGS
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
before_script:
- mkdir -p build/logs
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php coveralls.phar -v
notifications:
email: false

View File

@@ -1,20 +0,0 @@
<?php
namespace DeepCopy\f001;
class A
{
private $aProp;
public function getAProp()
{
return $this->aProp;
}
public function setAProp($prop)
{
$this->aProp = $prop;
return $this;
}
}

View File

@@ -1,20 +0,0 @@
<?php
namespace DeepCopy\f001;
class B extends A
{
private $bProp;
public function getBProp()
{
return $this->bProp;
}
public function setBProp($prop)
{
$this->bProp = $prop;
return $this;
}
}

View File

@@ -1,33 +0,0 @@
<?php
namespace DeepCopy\f002;
class A
{
private $prop1;
private $prop2;
public function getProp1()
{
return $this->prop1;
}
public function setProp1($prop)
{
$this->prop1 = $prop;
return $this;
}
public function getProp2()
{
return $this->prop2;
}
public function setProp2($prop)
{
$this->prop2 = $prop;
return $this;
}
}

View File

@@ -1,26 +0,0 @@
<?php
namespace DeepCopy\f003;
class Foo
{
private $name;
private $prop;
public function __construct($name)
{
$this->name = $name;
}
public function getProp()
{
return $this->prop;
}
public function setProp($prop)
{
$this->prop = $prop;
return $this;
}
}

View File

@@ -1,13 +0,0 @@
<?php
namespace DeepCopy\f004;
use BadMethodCallException;
class UnclonableItem
{
private function __clone()
{
throw new BadMethodCallException('Unsupported call.');
}
}

View File

@@ -1,13 +0,0 @@
<?php
namespace DeepCopy\f005;
class Foo
{
public $cloned = false;
public function __clone()
{
$this->cloned = true;
}
}

View File

@@ -1,26 +0,0 @@
<?php
namespace DeepCopy\f006;
class A
{
public $cloned = false;
private $aProp;
public function getAProp()
{
return $this->aProp;
}
public function setAProp($prop)
{
$this->aProp = $prop;
return $this;
}
public function __clone()
{
$this->cloned = true;
}
}

View File

@@ -1,26 +0,0 @@
<?php
namespace DeepCopy\f006;
class B
{
public $cloned = false;
private $bProp;
public function getBProp()
{
return $this->bProp;
}
public function setBProp($prop)
{
$this->bProp = $prop;
return $this;
}
public function __clone()
{
$this->cloned = true;
}
}

View File

@@ -1,15 +0,0 @@
<?php
namespace DeepCopy\f007;
use DateInterval;
class FooDateInterval extends DateInterval
{
public $cloned = false;
public function __clone()
{
$this->cloned = true;
}
}

View File

@@ -1,15 +0,0 @@
<?php
namespace DeepCopy\f007;
use DateTimeZone;
class FooDateTimeZone extends DateTimeZone
{
public $cloned = false;
public function __clone()
{
$this->cloned = true;
}
}

View File

@@ -1,18 +0,0 @@
<?php
namespace DeepCopy\f008;
class A
{
private $foo;
public function __construct($foo)
{
$this->foo = $foo;
}
public function getFoo()
{
return $this->foo;
}
}

View File

@@ -1,7 +0,0 @@
<?php
namespace DeepCopy\f008;
class B extends A
{
}