Skip to content

Backport only new Diff v3 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions LICENSE_GECKO

This file was deleted.

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@ Code from `sebastian/diff` has been forked a republished by permission of Sebast
Licenced with BSD-3-Clause @ see LICENSE_DIFF, copyright (c) Sebastian Bergmann <sebastian@phpunit.de>
https://github.com/sebastianbergmann/diff

Code from `GeckoPackages/GeckoDiffOutputBuilder` has been copied and republished by permission of GeckoPackages.
Licenced with MIT @ see LICENSE_GECKO, copyright (c) GeckoPackages https://github.com/GeckoPackages
https://github.com/GeckoPackages/GeckoDiffOutputBuilder/

For questions visit us @ https://gitter.im/PHP-CS-Fixer/Lobby
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "php-cs-fixer/diff",
"description": "sebastian/diff v2 backport support for PHP5.6",
"description": "sebastian/diff v3 backport support for PHP 5.6+",
"keywords": ["diff"],
"homepage": "https://github.com/PHP-CS-Fixer",
"license": "BSD-3-Clause",
Expand All @@ -24,18 +24,18 @@
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"symfony/process": "^3.3"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"psr-4": {
"PhpCsFixer\\Diff\\v1_4\\Tests\\": "tests/v1_4",
"PhpCsFixer\\Diff\\v2_0\\Tests\\": "tests/v2_0",
"PhpCsFixer\\Diff\\v3_0\\": "tests/v3_0",
"PhpCsFixer\\Diff\\GeckoPackages\\DiffOutputBuilder\\Tests\\": "tests/GeckoPackages/DiffOutputBuilder/Tests",
"PhpCsFixer\\Diff\\GeckoPackages\\DiffOutputBuilder\\Utils\\": "tests/GeckoPackages/DiffOutputBuilder/Utils"
"PhpCsFixer\\Diff\\": "tests"
}
}
}
2 changes: 1 addition & 1 deletion src/v3_0/Chunk.php → src/Chunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v3_0;
namespace PhpCsFixer\Diff;

final class Chunk
{
Expand Down
2 changes: 1 addition & 1 deletion src/v3_0/Diff.php → src/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v3_0;
namespace PhpCsFixer\Diff;

final class Diff
{
Expand Down
6 changes: 3 additions & 3 deletions src/v3_0/Differ.php → src/Differ.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v3_0;
namespace PhpCsFixer\Diff;

use PhpCsFixer\Diff\v3_0\Output\DiffOutputBuilderInterface;
use PhpCsFixer\Diff\v3_0\Output\UnifiedDiffOutputBuilder;
use PhpCsFixer\Diff\Output\DiffOutputBuilderInterface;
use PhpCsFixer\Diff\Output\UnifiedDiffOutputBuilder;

/**
* Diff implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v3_0;
namespace PhpCsFixer\Diff;

final class ConfigurationException extends InvalidArgumentException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v2_0;
namespace PhpCsFixer\Diff;

interface Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace PhpCsFixer\Diff\v3_0;
namespace PhpCsFixer\Diff;

class InvalidArgumentException extends \InvalidArgumentException implements Exception
{
Expand Down
36 changes: 0 additions & 36 deletions src/GeckoPackages/DiffOutputBuilder/ConfigurationException.php

This file was deleted.

Loading