Composer update
* updated Laravel to v5.6.38 * Added laravel tinker in dev dependencies
This commit is contained in:

committed by
Manish Verma

parent
be4b1231b6
commit
6742e13d81
3
vendor/phpunit/php-file-iterator/.gitignore
vendored
3
vendor/phpunit/php-file-iterator/.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
/.idea
|
||||
/vendor/
|
||||
/.php_cs
|
||||
/.php_cs.cache
|
||||
|
||||
/composer.lock
|
||||
|
@@ -163,5 +163,6 @@ return PhpCsFixer\Config::create()
|
||||
PhpCsFixer\Finder::create()
|
||||
->files()
|
||||
->in(__DIR__ . '/src')
|
||||
->in(__DIR__ . '/tests')
|
||||
->notName('*.phpt')
|
||||
);
|
||||
|
32
vendor/phpunit/php-file-iterator/.travis.yml
vendored
Normal file
32
vendor/phpunit/php-file-iterator/.travis.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
language: php
|
||||
|
||||
sudo: false
|
||||
|
||||
php:
|
||||
- 7.1
|
||||
- 7.2
|
||||
- master
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- DEPENDENCIES="high"
|
||||
- DEPENDENCIES="low"
|
||||
global:
|
||||
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
|
||||
|
||||
before_install:
|
||||
- composer self-update
|
||||
- composer clear-cache
|
||||
|
||||
install:
|
||||
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi
|
||||
- if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
|
||||
|
||||
script:
|
||||
- ./vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
notifications:
|
||||
email: false
|
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [2.0.2] - 2018-09-13
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed [#48](https://github.com/sebastianbergmann/php-file-iterator/issues/48): Excluding an array that contains false ends up excluding the current working directory
|
||||
|
||||
## [2.0.1] - 2018-06-11
|
||||
|
||||
### Fixed
|
||||
@@ -54,6 +60,7 @@ No changes
|
||||
|
||||
* [Added support for wildcards (glob) in exclude](https://github.com/sebastianbergmann/php-file-iterator/pull/23)
|
||||
|
||||
[2.0.2]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.1...2.0.2
|
||||
[2.0.1]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.0...2.0.1
|
||||
[2.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4...master
|
||||
[1.4.5]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.4...1.4.5
|
||||
|
2
vendor/phpunit/php-file-iterator/README.md
vendored
2
vendor/phpunit/php-file-iterator/README.md
vendored
@@ -1,3 +1,5 @@
|
||||
[](https://travis-ci.org/sebastianbergmann/php-file-iterator)
|
||||
|
||||
# php-file-iterator
|
||||
|
||||
## Installation
|
||||
|
@@ -21,6 +21,9 @@
|
||||
"require": {
|
||||
"php": "^7.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.1"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"src/"
|
||||
@@ -32,4 +35,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
21
vendor/phpunit/php-file-iterator/phpunit.xml
vendored
Normal file
21
vendor/phpunit/php-file-iterator/phpunit.xml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.2/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
forceCoversAnnotation="true"
|
||||
beStrictAboutCoversAnnotation="true"
|
||||
beStrictAboutOutputDuringTests="true"
|
||||
beStrictAboutTodoAnnotatedTests="true"
|
||||
verbose="true">
|
||||
<testsuites>
|
||||
<testsuite name="default">
|
||||
<directory suffix="Test.php">tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
@@ -78,6 +78,6 @@ class Factory
|
||||
}
|
||||
}
|
||||
|
||||
return $_paths;
|
||||
return \array_filter($_paths);
|
||||
}
|
||||
}
|
||||
|
50
vendor/phpunit/php-file-iterator/tests/FactoryTest.php
vendored
Normal file
50
vendor/phpunit/php-file-iterator/tests/FactoryTest.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of php-file-iterator.
|
||||
*
|
||||
* (c) Sebastian Bergmann <sebastian@phpunit.de>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace SebastianBergmann\FileIterator;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \SebastianBergmann\FileIterator\Factory
|
||||
*/
|
||||
class FactoryTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $root;
|
||||
|
||||
/**
|
||||
* @var Factory
|
||||
*/
|
||||
private $factory;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->root = __DIR__;
|
||||
$this->factory = new Factory;
|
||||
}
|
||||
|
||||
public function testFindFilesInTestDirectory(): void
|
||||
{
|
||||
$iterator = $this->factory->getFileIterator($this->root, 'Test.php');
|
||||
$files = \iterator_to_array($iterator);
|
||||
|
||||
$this->assertGreaterThanOrEqual(1, \count($files));
|
||||
}
|
||||
|
||||
public function testFindFilesWithExcludedNonExistingSubdirectory(): void
|
||||
{
|
||||
$iterator = $this->factory->getFileIterator($this->root, 'Test.php', '', [$this->root . '/nonExistingDir']);
|
||||
$files = \iterator_to_array($iterator);
|
||||
|
||||
$this->assertGreaterThanOrEqual(1, \count($files));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user