composer update
This commit is contained in:
40
vendor/phpunit/php-token-stream/.github/stale.yml
vendored
Normal file
40
vendor/phpunit/php-token-stream/.github/stale.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# Configuration for probot-stale - https://github.com/probot/stale
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
||||
daysUntilStale: 60
|
||||
|
||||
# Number of days of inactivity before a stale Issue or Pull Request is closed.
|
||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||
daysUntilClose: 7
|
||||
|
||||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
||||
exemptLabels:
|
||||
- enhancement
|
||||
|
||||
# Set to true to ignore issues in a project (defaults to false)
|
||||
exemptProjects: false
|
||||
|
||||
# Set to true to ignore issues in a milestone (defaults to false)
|
||||
exemptMilestones: false
|
||||
|
||||
# Label to use when marking as stale
|
||||
staleLabel: stale
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
|
||||
|
||||
# Comment to post when removing the stale label.
|
||||
# unmarkComment: >
|
||||
# Your comment here.
|
||||
|
||||
# Comment to post when closing a stale Issue or Pull Request.
|
||||
closeComment: >
|
||||
This issue has been automatically closed because it has not had activity since it was marked as stale. Thank you for your contributions.
|
||||
|
||||
# Limit the number of actions per hour, from 1-30. Default is 30
|
||||
limitPerRun: 30
|
||||
|
||||
# Limit to only `issues` or `pulls`
|
||||
only: issues
|
||||
|
1
vendor/phpunit/php-token-stream/.travis.yml
vendored
1
vendor/phpunit/php-token-stream/.travis.yml
vendored
@@ -3,6 +3,7 @@ language: php
|
||||
php:
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- master
|
||||
|
||||
sudo: false
|
||||
|
9
vendor/phpunit/php-token-stream/ChangeLog.md
vendored
9
vendor/phpunit/php-token-stream/ChangeLog.md
vendored
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to `sebastianbergmann/php-token-stream` are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
|
||||
|
||||
## [3.0.1] - 2018-10-30
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed [#78](https://github.com/sebastianbergmann/php-token-stream/pull/78): `getEndTokenId()` does not handle string-dollar (`"${var}"`) interpolation
|
||||
|
||||
## [3.0.0] - 2018-02-01
|
||||
|
||||
### Removed
|
||||
@@ -11,6 +17,8 @@ All notable changes to `sebastianbergmann/php-token-stream` are documented in th
|
||||
|
||||
## [2.0.2] - 2017-11-27
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed [#69](https://github.com/sebastianbergmann/php-token-stream/issues/69): `PHP_Token_USE_FUNCTION` does not serialize correctly
|
||||
|
||||
## [2.0.1] - 2017-08-20
|
||||
@@ -21,6 +29,7 @@ All notable changes to `sebastianbergmann/php-token-stream` are documented in th
|
||||
|
||||
## [2.0.0] - 2017-08-03
|
||||
|
||||
[3.0.1]: https://github.com/sebastianbergmann/php-token-stream/compare/3.0.0...3.0.1
|
||||
[3.0.0]: https://github.com/sebastianbergmann/php-token-stream/compare/2.0...3.0.0
|
||||
[2.0.2]: https://github.com/sebastianbergmann/php-token-stream/compare/2.0.1...2.0.2
|
||||
[2.0.1]: https://github.com/sebastianbergmann/php-token-stream/compare/2.0.0...2.0.1
|
||||
|
4
vendor/phpunit/php-token-stream/LICENSE
vendored
4
vendor/phpunit/php-token-stream/LICENSE
vendored
@@ -1,6 +1,6 @@
|
||||
PHP_TokenStream
|
||||
php-token-stream
|
||||
|
||||
Copyright (c) 2009-2017, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
Copyright (c) 2009-2018, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@@ -135,6 +135,7 @@ abstract class PHP_TokenWithScope extends PHP_Token
|
||||
|
||||
while ($this->endTokenId === null && isset($tokens[$i])) {
|
||||
if ($tokens[$i] instanceof PHP_Token_OPEN_CURLY ||
|
||||
$tokens[$i] instanceof PHP_Token_DOLLAR_OPEN_CURLY_BRACES ||
|
||||
$tokens[$i] instanceof PHP_Token_CURLY_OPEN) {
|
||||
$block++;
|
||||
} elseif ($tokens[$i] instanceof PHP_Token_CLOSE_CURLY) {
|
||||
|
@@ -74,6 +74,7 @@ class PHP_Token_FunctionTest extends TestCase
|
||||
$this->assertEquals(17, $this->functions[2]->getLine());
|
||||
$this->assertEquals(21, $this->functions[3]->getLine());
|
||||
$this->assertEquals(29, $this->functions[4]->getLine());
|
||||
$this->assertEquals(37, $this->functions[6]->getLine());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -86,6 +87,7 @@ class PHP_Token_FunctionTest extends TestCase
|
||||
$this->assertEquals(19, $this->functions[2]->getEndLine());
|
||||
$this->assertEquals(23, $this->functions[3]->getEndLine());
|
||||
$this->assertEquals(31, $this->functions[4]->getEndLine());
|
||||
$this->assertEquals(41, $this->functions[6]->getEndLine());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -156,7 +156,7 @@ class PHP_Token_InterfaceTest extends TestCase
|
||||
return;
|
||||
}
|
||||
}
|
||||
$this->fail('Seachring for 2 classes failed');
|
||||
$this->fail('Searching for 2 classes failed');
|
||||
}
|
||||
|
||||
public function testGetPackageNamespaceIsEmptyForInterfacesThatAreNotWithinNamespaces()
|
||||
|
@@ -33,4 +33,10 @@ class Foo{function foo(){}
|
||||
public function blaz($x, $y)
|
||||
{
|
||||
}
|
||||
|
||||
public function buzz($foo)
|
||||
{
|
||||
echo "${foo}";
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user