-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd1bbe8
commit a48f9b9
Showing
581 changed files
with
15,748 additions
and
2,054 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ if [ -n "$bashSource" ]; then | |
fi | ||
fi | ||
|
||
"${dir}/tokenize" "$@" | ||
exec "${dir}/tokenize" "$@" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DatePeriodFilter.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace DeepCopy\TypeFilter\Date; | ||
|
||
use DatePeriod; | ||
use DeepCopy\TypeFilter\TypeFilter; | ||
|
||
/** | ||
* @final | ||
*/ | ||
class DatePeriodFilter implements TypeFilter | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
* | ||
* @param DatePeriod $element | ||
* | ||
* @see http://news.php.net/php.bugs/205076 | ||
*/ | ||
public function apply($element) | ||
{ | ||
$options = 0; | ||
if (PHP_VERSION_ID >= 80200 && $element->include_end_date) { | ||
$options |= DatePeriod::INCLUDE_END_DATE; | ||
} | ||
if (!$element->include_start_date) { | ||
$options |= DatePeriod::EXCLUDE_START_DATE; | ||
} | ||
|
||
if ($element->getEndDate()) { | ||
return new DatePeriod($element->getStartDate(), $element->getDateInterval(), $element->getEndDate(), $options); | ||
} | ||
|
||
if (PHP_VERSION_ID >= 70217) { | ||
$recurrences = $element->getRecurrences(); | ||
} else { | ||
$recurrences = $element->recurrences - $element->include_start_date; | ||
} | ||
|
||
return new DatePeriod($element->getStartDate(), $element->getDateInterval(), $recurrences, $options); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace PhpParser\Node\Expr; | ||
|
||
require __DIR__ . '/../ArrayItem.php'; | ||
|
||
if (false) { | ||
// For classmap-authoritative support. | ||
class ArrayItem extends \PhpParser\Node\ArrayItem { | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace PhpParser\Node\Expr; | ||
|
||
require __DIR__ . '/../ClosureUse.php'; | ||
|
||
if (false) { | ||
// For classmap-authoritative support. | ||
class ClosureUse extends \PhpParser\Node\ClosureUse { | ||
} | ||
} |
Oops, something went wrong.