CHANGE_vendor : ps
This commit is contained in:
parent
de46426a31
commit
668c08c80f
0
vendor/kint-php/kint/src/Parser/ArrayObjectPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ArrayObjectPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/Base64Plugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/Base64Plugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/BinaryPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/BinaryPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClassMethodsPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClassMethodsPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClassStaticsPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClassStaticsPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClosurePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ClosurePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ColorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ColorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ConstructablePluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ConstructablePluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/DOMDocumentPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/DOMDocumentPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/DateTimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/DateTimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/EnumPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/EnumPlugin.php
vendored
Executable file → Normal file
6
vendor/kint-php/kint/src/Parser/FsPathPlugin.php
vendored
Executable file → Normal file
6
vendor/kint-php/kint/src/Parser/FsPathPlugin.php
vendored
Executable file → Normal file
@ -30,6 +30,7 @@ namespace Kint\Parser;
|
|||||||
use Kint\Zval\Representation\SplFileInfoRepresentation;
|
use Kint\Zval\Representation\SplFileInfoRepresentation;
|
||||||
use Kint\Zval\Value;
|
use Kint\Zval\Value;
|
||||||
use SplFileInfo;
|
use SplFileInfo;
|
||||||
|
use TypeError;
|
||||||
|
|
||||||
class FsPathPlugin extends AbstractPlugin
|
class FsPathPlugin extends AbstractPlugin
|
||||||
{
|
{
|
||||||
@ -59,9 +60,14 @@ class FsPathPlugin extends AbstractPlugin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
if (!@\file_exists($var)) {
|
if (!@\file_exists($var)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} catch (TypeError $e) {// @codeCoverageIgnore
|
||||||
|
// Only possible in PHP 7
|
||||||
|
return; // @codeCoverageIgnore
|
||||||
|
}
|
||||||
|
|
||||||
if (\in_array($var, self::$blacklist, true)) {
|
if (\in_array($var, self::$blacklist, true)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
0
vendor/kint-php/kint/src/Parser/IteratorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/IteratorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/JsonPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/JsonPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/MicrotimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/MicrotimePlugin.php
vendored
Executable file → Normal file
3
vendor/kint-php/kint/src/Parser/MysqliPlugin.php
vendored
Executable file → Normal file
3
vendor/kint-php/kint/src/Parser/MysqliPlugin.php
vendored
Executable file → Normal file
@ -105,7 +105,8 @@ class MysqliPlugin extends AbstractPlugin
|
|||||||
foreach ($o->value->contents as $key => $obj) {
|
foreach ($o->value->contents as $key => $obj) {
|
||||||
if (isset($this->connected_readable[$obj->name])) {
|
if (isset($this->connected_readable[$obj->name])) {
|
||||||
if (!$connected) {
|
if (!$connected) {
|
||||||
continue;
|
// No failed connections after PHP 8.1
|
||||||
|
continue; // @codeCoverageIgnore
|
||||||
}
|
}
|
||||||
} elseif (isset($this->empty_readable[$obj->name])) {
|
} elseif (isset($this->empty_readable[$obj->name])) {
|
||||||
// No failed connections after PHP 8.1
|
// No failed connections after PHP 8.1
|
||||||
|
|||||||
0
vendor/kint-php/kint/src/Parser/Parser.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/Parser.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ProxyPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ProxyPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SerializePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SerializePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SimpleXMLElementPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SimpleXMLElementPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SplFileInfoPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SplFileInfoPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SplObjectStoragePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/SplObjectStoragePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/StreamPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/StreamPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ThrowablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ThrowablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TimestampPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TimestampPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ToStringPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/ToStringPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TracePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/TracePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/XmlPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Parser/XmlPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/AbstractRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/AbstractRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/CliRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/CliRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/PlainRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/PlainRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/RendererInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/RendererInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/AbstractPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/AbstractPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ArrayLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ArrayLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/BinaryPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/BinaryPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/CallablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/CallablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ClosurePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ClosurePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ColorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ColorPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/DepthLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/DepthLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/MethodDefinitionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/MethodDefinitionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/MicrotimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/MicrotimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/RecursionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/RecursionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/SimpleXMLElementPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/SimpleXMLElementPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/SourcePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/SourcePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TabPluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TabPluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TablePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TimestampPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TimestampPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TraceFramePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/TraceFramePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ValuePluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Rich/ValuePluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/RichRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/RichRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/AbstractPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/AbstractPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/ArrayLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/ArrayLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/BlacklistPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/DepthLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/DepthLimitPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/EnumPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/EnumPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/MicrotimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/MicrotimePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/PluginInterface.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/RecursionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/RecursionPlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/TracePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/Text/TracePlugin.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/TextRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Renderer/TextRenderer.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Utils.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Utils.php
vendored
Executable file → Normal file
4
vendor/kint-php/kint/src/Zval/BlobValue.php
vendored
Executable file → Normal file
4
vendor/kint-php/kint/src/Zval/BlobValue.php
vendored
Executable file → Normal file
@ -182,7 +182,9 @@ class BlobValue extends Value
|
|||||||
if (\function_exists('iconv')) {
|
if (\function_exists('iconv')) {
|
||||||
foreach (self::$legacy_encodings as $encoding) {
|
foreach (self::$legacy_encodings as $encoding) {
|
||||||
// Iconv detection works by triggering
|
// Iconv detection works by triggering
|
||||||
// "Detected an illegal character in input string" warnings
|
// "Detected an illegal character in input string" notices
|
||||||
|
// This notice does not become a TypeError with strict_types
|
||||||
|
// so we don't have to wrap this in a try catch
|
||||||
if (@\iconv($encoding, $encoding, $string) === $string) {
|
if (@\iconv($encoding, $encoding, $string) === $string) {
|
||||||
return $encoding;
|
return $encoding;
|
||||||
}
|
}
|
||||||
|
|||||||
0
vendor/kint-php/kint/src/Zval/ClosureValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ClosureValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/DateTimeValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/DateTimeValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/EnumValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/EnumValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/InstanceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/InstanceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/MethodValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/MethodValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ParameterHoldingTrait.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ParameterHoldingTrait.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ParameterValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ParameterValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/ColorRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/ColorRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/MethodDefinitionRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/MethodDefinitionRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/MicrotimeRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/MicrotimeRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/Representation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/Representation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/SourceRepresentation.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Representation/SourceRepresentation.php
vendored
Executable file → Normal file
2
vendor/kint-php/kint/src/Zval/Representation/SplFileInfoRepresentation.php
vendored
Executable file → Normal file
2
vendor/kint-php/kint/src/Zval/Representation/SplFileInfoRepresentation.php
vendored
Executable file → Normal file
@ -76,7 +76,7 @@ class SplFileInfoRepresentation extends Representation
|
|||||||
}
|
}
|
||||||
} catch (RuntimeException $e) {
|
} catch (RuntimeException $e) {
|
||||||
if (false === \strpos($e->getMessage(), ' open_basedir ')) {
|
if (false === \strpos($e->getMessage(), ' open_basedir ')) {
|
||||||
throw $e;
|
throw $e; // @codeCoverageIgnore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
0
vendor/kint-php/kint/src/Zval/ResourceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ResourceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/SimpleXMLElementValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/SimpleXMLElementValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/StreamValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/StreamValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ThrowableValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/ThrowableValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/TraceFrameValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/TraceFrameValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/TraceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/TraceValue.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Value.php
vendored
Executable file → Normal file
0
vendor/kint-php/kint/src/Zval/Value.php
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/.editorconfig
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/.editorconfig
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/.gitignore
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/.gitignore
vendored
Executable file → Normal file
15
vendor/nexusphp/cs-config/.php-cs-fixer.dist.php
vendored
Executable file → Normal file
15
vendor/nexusphp/cs-config/.php-cs-fixer.dist.php
vendored
Executable file → Normal file
@ -14,15 +14,13 @@ declare(strict_types=1);
|
|||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
|
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
|
||||||
use Nexus\CsConfig\FixerGenerator;
|
use Nexus\CsConfig\FixerGenerator;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus81;
|
use Nexus\CsConfig\Ruleset\Nexus80;
|
||||||
use PhpCsFixer\Finder;
|
use PhpCsFixer\Finder;
|
||||||
|
|
||||||
$finder = Finder::create()
|
$finder = Finder::create()
|
||||||
->files()
|
->files()
|
||||||
->in([
|
->in(__DIR__)
|
||||||
__DIR__.'/src',
|
->exclude(['build'])
|
||||||
__DIR__.'/tests',
|
|
||||||
])
|
|
||||||
->append([__FILE__])
|
->append([__FILE__])
|
||||||
;
|
;
|
||||||
|
|
||||||
@ -38,9 +36,4 @@ $options = [
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
return Factory::create(new Nexus81(), $overrides, $options)->forLibrary(
|
return Factory::create(new Nexus80(), $overrides, $options)->forLibrary('Nexus CS Config', 'John Paul E. Balandan, CPA', 'paulbalandan@gmail.com', 2020);
|
||||||
'Nexus CS Config',
|
|
||||||
'John Paul E. Balandan, CPA',
|
|
||||||
'paulbalandan@gmail.com',
|
|
||||||
2020,
|
|
||||||
);
|
|
||||||
|
|||||||
35
vendor/nexusphp/cs-config/CHANGELOG.md
vendored
Executable file → Normal file
35
vendor/nexusphp/cs-config/CHANGELOG.md
vendored
Executable file → Normal file
@ -5,41 +5,6 @@ All notable changes to this library will be documented in this file:
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [v3.22.1](https://github.com/NexusPHP/cs-config/compare/v3.22.0...v3.22.1) - 2024-03-24
|
|
||||||
|
|
||||||
- Allow phpunit v11
|
|
||||||
- Remove deprecated option of `nullable_type_declaration_for_default_null_value`
|
|
||||||
|
|
||||||
## [v3.22.0](https://github.com/NexusPHP/cs-config/compare/v3.21.0...v3.22.0) - 2024-02-24
|
|
||||||
|
|
||||||
- Bump to php-cs-fixer v3.50
|
|
||||||
- Update options for `no_superfluous_phpdoc_tags`
|
|
||||||
- Enable `phpdoc_array_type`
|
|
||||||
|
|
||||||
## [v3.21.0](https://github.com/NexusPHP/cs-config/compare/v3.20.0...v3.21.0) - 2024-02-05
|
|
||||||
|
|
||||||
- Bump to php-cs-fixer v3.49
|
|
||||||
- Add `string_implicit_slashes` fixer
|
|
||||||
- Enable `phpdoc_list_type` fixer
|
|
||||||
|
|
||||||
## [v3.20.0](https://github.com/NexusPHP/cs-config/compare/v3.19.0...v3.20.0) - 2024-01-23
|
|
||||||
|
|
||||||
- Bump to php-cs-fixer v3.46
|
|
||||||
- Enable `union_types` option for phpdoc_to fixers
|
|
||||||
- Disable `numeric_literal_separator`
|
|
||||||
- Enable `multiline_string_to_heredoc`
|
|
||||||
- Disable `heredoc_closing_marker`
|
|
||||||
- Enable `spacing` option and add more `tags` to `phpdoc_align`
|
|
||||||
- Bump actions/cache from 3 to 4 (#4)
|
|
||||||
|
|
||||||
## [v3.19.0](https://github.com/NexusPHP/cs-config/compare/v3.18.0...v3.19.0) - 2023-12-29
|
|
||||||
|
|
||||||
- Bump minimum PHP version to PHP 8.1
|
|
||||||
- Bump to php-cs-fixer v3.43
|
|
||||||
- Run build on PHP 8.3
|
|
||||||
- Bump to phpunit v10.5
|
|
||||||
- Fix sample ruleset in README
|
|
||||||
|
|
||||||
## [v3.18.0](https://github.com/NexusPHP/cs-config/compare/v3.17.0...v3.18.0) - 2023-10-13
|
## [v3.18.0](https://github.com/NexusPHP/cs-config/compare/v3.17.0...v3.18.0) - 2023-10-13
|
||||||
|
|
||||||
- Bump to php-cs-fixer v3.35
|
- Bump to php-cs-fixer v3.35
|
||||||
|
|||||||
0
vendor/nexusphp/cs-config/LICENSE
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/LICENSE
vendored
Executable file → Normal file
30
vendor/nexusphp/cs-config/README.md
vendored
Executable file → Normal file
30
vendor/nexusphp/cs-config/README.md
vendored
Executable file → Normal file
@ -31,9 +31,9 @@ then you should add it as a development-time dependency:
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus82;
|
use Nexus\CsConfig\Ruleset\Nexus73;
|
||||||
|
|
||||||
return Factory::create(new Nexus82())->forProjects();
|
return Factory::create(new Nexus73())->forProjects();
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -61,10 +61,10 @@ two optional arguments (the email address and starting year of license).
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus82;
|
use Nexus\CsConfig\Ruleset\Nexus73;
|
||||||
|
|
||||||
-return Factory::create(new Nexus82())->forProjects();
|
-return Factory::create(new Nexus73())->forProjects();
|
||||||
+return Factory::create(new Nexus82())->forLibrary('My Library', 'John Doe', 'john@doe.com', 2020);
|
+return Factory::create(new Nexus73())->forLibrary('My Library', 'John Doe', 'john@doe.com', 2020);
|
||||||
```
|
```
|
||||||
|
|
||||||
This setting will configure a license header similar to below:
|
This setting will configure a license header similar to below:
|
||||||
@ -93,10 +93,10 @@ these will not be shown on the license header allowing flexibility on the copyri
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus82;
|
use Nexus\CsConfig\Ruleset\Nexus73;
|
||||||
|
|
||||||
-return Factory::create(new Nexus82())->forProjects();
|
-return Factory::create(new Nexus73())->forProjects();
|
||||||
+return Factory::create(new Nexus82())->forLibrary('My Library', 'John Doe');
|
+return Factory::create(new Nexus73())->forLibrary('My Library', 'John Doe');
|
||||||
```
|
```
|
||||||
|
|
||||||
This will give the following license header:
|
This will give the following license header:
|
||||||
@ -124,10 +124,10 @@ If you feel that a specific rule in the ruleset is not appropriate for you, you
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus82;
|
use Nexus\CsConfig\Ruleset\Nexus73;
|
||||||
|
|
||||||
-return Factory::create(new Nexus82())->forProjects();
|
-return Factory::create(new Nexus73())->forProjects();
|
||||||
+return Factory::create(new Nexus82(), [
|
+return Factory::create(new Nexus73(), [
|
||||||
+ 'binary_operator_spaces' => false,
|
+ 'binary_operator_spaces' => false,
|
||||||
+])->forProjects();
|
+])->forProjects();
|
||||||
|
|
||||||
@ -159,10 +159,10 @@ containing your desired options.
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Nexus\CsConfig\Factory;
|
use Nexus\CsConfig\Factory;
|
||||||
use Nexus\CsConfig\Ruleset\Nexus82;
|
use Nexus\CsConfig\Ruleset\Nexus73;
|
||||||
|
|
||||||
-return Factory::create(new Nexus82())->forProjects();
|
-return Factory::create(new Nexus73())->forProjects();
|
||||||
+return Factory::create(new Nexus82(), [], [
|
+return Factory::create(new Nexus73(), [], [
|
||||||
+ 'usingCache' => false,
|
+ 'usingCache' => false,
|
||||||
+ 'hideProgress => true,
|
+ 'hideProgress => true,
|
||||||
+])->forProjects();
|
+])->forProjects();
|
||||||
@ -194,7 +194,7 @@ final class MyCompany extends AbstractRuleset
|
|||||||
'@PSR2' => true,
|
'@PSR2' => true,
|
||||||
...
|
...
|
||||||
];
|
];
|
||||||
$this->requiredPHPVersion = 80200;
|
$this->requiredPHPVersion = 70400;
|
||||||
$this->autoActivateIsRiskyAllowed = true;
|
$this->autoActivateIsRiskyAllowed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
vendor/nexusphp/cs-config/composer.json
vendored
Executable file → Normal file
8
vendor/nexusphp/cs-config/composer.json
vendored
Executable file → Normal file
@ -15,17 +15,17 @@
|
|||||||
"slack": "https://nexusphp.slack.com"
|
"slack": "https://nexusphp.slack.com"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.0.1",
|
||||||
"ext-tokenizer": "*",
|
"ext-tokenizer": "*",
|
||||||
"friendsofphp/php-cs-fixer": "^3.50"
|
"friendsofphp/php-cs-fixer": "^3.35"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"nexusphp/tachycardia": "^2.1",
|
"nexusphp/tachycardia": "^1.4",
|
||||||
"phpstan/extension-installer": "^1.3",
|
"phpstan/extension-installer": "^1.3",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpstan/phpstan-phpunit": "^1.3",
|
"phpstan/phpstan-phpunit": "^1.3",
|
||||||
"phpstan/phpstan-strict-rules": "^1.5",
|
"phpstan/phpstan-strict-rules": "^1.5",
|
||||||
"phpunit/phpunit": "^10.5 || ^11.0"
|
"phpunit/phpunit": "^9.6"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"liaison/cs-config": "*"
|
"liaison/cs-config": "*"
|
||||||
|
|||||||
25
vendor/nexusphp/cs-config/phpstan-baseline.php
vendored
Executable file → Normal file
25
vendor/nexusphp/cs-config/phpstan-baseline.php
vendored
Executable file → Normal file
@ -1,4 +1,15 @@
|
|||||||
<?php declare(strict_types = 1);
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This file is part of Nexus CS Config.
|
||||||
|
*
|
||||||
|
* (c) 2020 John Paul E. Balandan, CPA <paulbalandan@gmail.com>
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view
|
||||||
|
* the LICENSE file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
$ignoreErrors = [];
|
$ignoreErrors = [];
|
||||||
$ignoreErrors[] = [
|
$ignoreErrors[] = [
|
||||||
@ -12,14 +23,14 @@ $ignoreErrors[] = [
|
|||||||
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php',
|
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php',
|
||||||
];
|
];
|
||||||
$ignoreErrors[] = [
|
$ignoreErrors[] = [
|
||||||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\NoCodeSeparatorCommentFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
|
'message' => '#^Only numeric types are allowed in pre\\-increment, int\\<0, max\\>\\|false given\\.$#',
|
||||||
'count' => 1,
|
'count' => 1,
|
||||||
'path' => __DIR__ . '/tests/Fixer/Comment/NoCodeSeparatorCommentFixerTest.php',
|
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php',
|
||||||
];
|
];
|
||||||
$ignoreErrors[] = [
|
$ignoreErrors[] = [
|
||||||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\SpaceAfterCommentStartFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
|
'message' => '#^Cannot access offset \'header\' on array\\<string, mixed\\>\\|bool\\.$#',
|
||||||
'count' => 1,
|
'count' => 1,
|
||||||
'path' => __DIR__ . '/tests/Fixer/Comment/SpaceAfterCommentStartFixerTest.php',
|
'path' => __DIR__.'/tests/FactoryTest.php',
|
||||||
];
|
];
|
||||||
$ignoreErrors[] = [
|
$ignoreErrors[] = [
|
||||||
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#',
|
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#',
|
||||||
@ -27,9 +38,7 @@ $ignoreErrors[] = [
|
|||||||
'path' => __DIR__.'/tests/Test/FixerProviderTest.php',
|
'path' => __DIR__.'/tests/Test/FixerProviderTest.php',
|
||||||
];
|
];
|
||||||
$ignoreErrors[] = [
|
$ignoreErrors[] = [
|
||||||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Test\\\\FixerProviderTest\\:\\:provideCreateMethodGivesNoDeprecatedBuiltInFixersCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
|
'message' => '#^Method \\S+Test\\:\\:\\S+ return type has no value type specified in iterable type iterable\\.$#',
|
||||||
'count' => 1,
|
|
||||||
'path' => __DIR__ . '/tests/Test/FixerProviderTest.php',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
|
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
|
||||||
|
|||||||
0
vendor/nexusphp/cs-config/phpstan.neon.dist
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/phpstan.neon.dist
vendored
Executable file → Normal file
21
vendor/nexusphp/cs-config/phpunit.xml.dist
vendored
Executable file → Normal file
21
vendor/nexusphp/cs-config/phpunit.xml.dist
vendored
Executable file → Normal file
@ -2,28 +2,31 @@
|
|||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
|
cacheResultFile="build/phpunit/test-results"
|
||||||
colors="true"
|
colors="true"
|
||||||
executionOrder="random"
|
columns="max"
|
||||||
beStrictAboutOutputDuringTests="true"
|
|
||||||
failOnRisky="true"
|
failOnRisky="true"
|
||||||
failOnWarning="true"
|
failOnWarning="true"
|
||||||
cacheDirectory="build/phpunit/cache"
|
forceCoversAnnotation="true"
|
||||||
columns="max"
|
beStrictAboutOutputDuringTests="true"
|
||||||
requireCoverageMetadata="true"
|
beStrictAboutTodoAnnotatedTests="true"
|
||||||
|
verbose="true"
|
||||||
>
|
>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="NexusPHP CS Config Test Suite">
|
<testsuite name="NexusPHP CS Config Test Suite">
|
||||||
<directory suffix="Test.php">tests</directory>
|
<directory suffix="Test.php">tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<source>
|
<coverage cacheDirectory="build/phpunit/code-coverage"
|
||||||
|
ignoreDeprecatedCodeUnits="true"
|
||||||
|
processUncoveredFiles="true"
|
||||||
|
>
|
||||||
<include>
|
<include>
|
||||||
<directory suffix=".php">src</directory>
|
<directory suffix=".php">src</directory>
|
||||||
</include>
|
</include>
|
||||||
</source>
|
|
||||||
|
|
||||||
<coverage ignoreDeprecatedCodeUnits="true">
|
|
||||||
<report>
|
<report>
|
||||||
<clover outputFile="build/phpunit/logs/clover.xml"/>
|
<clover outputFile="build/phpunit/logs/clover.xml"/>
|
||||||
<html outputDirectory="build/phpunit/logs/html"/>
|
<html outputDirectory="build/phpunit/logs/html"/>
|
||||||
@ -31,6 +34,6 @@
|
|||||||
</coverage>
|
</coverage>
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension" />
|
<extension class="Nexus\PHPUnit\Extension\Tachycardia" />
|
||||||
</extensions>
|
</extensions>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
0
vendor/nexusphp/cs-config/src/Factory.php
vendored
Executable file → Normal file
0
vendor/nexusphp/cs-config/src/Factory.php
vendored
Executable file → Normal file
3
vendor/nexusphp/cs-config/src/Fixer/AbstractCustomFixer.php
vendored
Executable file → Normal file
3
vendor/nexusphp/cs-config/src/Fixer/AbstractCustomFixer.php
vendored
Executable file → Normal file
@ -35,6 +35,9 @@ abstract class AbstractCustomFixer extends AbstractFixer
|
|||||||
return $namespace.'/'.Utils::camelCaseToUnderscore($name);
|
return $namespace.'/'.Utils::camelCaseToUnderscore($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
public function getName(): string
|
public function getName(): string
|
||||||
{
|
{
|
||||||
return self::name();
|
return self::name();
|
||||||
|
|||||||
9
vendor/nexusphp/cs-config/src/Fixer/Comment/NoCodeSeparatorCommentFixer.php
vendored
Executable file → Normal file
9
vendor/nexusphp/cs-config/src/Fixer/Comment/NoCodeSeparatorCommentFixer.php
vendored
Executable file → Normal file
@ -25,6 +25,9 @@ use PhpCsFixer\Tokenizer\Tokens;
|
|||||||
*/
|
*/
|
||||||
final class NoCodeSeparatorCommentFixer extends AbstractCustomFixer
|
final class NoCodeSeparatorCommentFixer extends AbstractCustomFixer
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
public function getDefinition(): FixerDefinitionInterface
|
public function getDefinition(): FixerDefinitionInterface
|
||||||
{
|
{
|
||||||
return new FixerDefinition(
|
return new FixerDefinition(
|
||||||
@ -44,6 +47,9 @@ final class NoCodeSeparatorCommentFixer extends AbstractCustomFixer
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
public function isCandidate(Tokens $tokens): bool
|
public function isCandidate(Tokens $tokens): bool
|
||||||
{
|
{
|
||||||
return $tokens->isTokenKindFound(T_COMMENT);
|
return $tokens->isTokenKindFound(T_COMMENT);
|
||||||
@ -59,6 +65,9 @@ final class NoCodeSeparatorCommentFixer extends AbstractCustomFixer
|
|||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
|
protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
|
||||||
{
|
{
|
||||||
for ($index = 1, $count = $tokens->count(); $index < $count; ++$index) {
|
for ($index = 1, $count = $tokens->count(); $index < $count; ++$index) {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user