Skip to content
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

Remove the JS minifier compactor #173

Merged
merged 1 commit into from
Apr 28, 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
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"symfony/finder": "^3.4 || ^4.0",
"symfony/process": "^3.4 || ^4.0",
"symfony/var-dumper": "^3.4 || ^4.0",
"tedivm/jshrink": "~1.0",
"webmozart/path-util": "^2.3"
},
"require-dev": {
Expand Down
48 changes: 1 addition & 47 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ function (string $filePath, string $prefix, string $contents): string {
'whitelist' => [
\Composer\Autoload\ClassLoader::class,

\Herrera\Box\Compactor\Javascript::class,
\KevinGH\Box\Compactor\Javascript::class,
\Herrera\Box\Compactor\Json::class,
\KevinGH\Box\Compactor\Json::class,
\Herrera\Box\Compactor\Php::class,
Expand Down
61 changes: 0 additions & 61 deletions src/Compactor/Javascript.php

This file was deleted.

4 changes: 0 additions & 4 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ class_alias(\Symfony\Component\Finder\Finder::class, \Isolated\Symfony\Component
}

// Register compactors aliases
if (false === class_exists(\Herrera\Box\Compactor\Javascript::class, false)) {
class_alias(\KevinGH\Box\Compactor\Javascript::class, \Herrera\Box\Compactor\Javascript::class);
}

if (false === class_exists(\Herrera\Box\Compactor\Json::class, false)) {
class_alias(\KevinGH\Box\Compactor\Json::class, \Herrera\Box\Compactor\Json::class);
}
Expand Down
107 changes: 0 additions & 107 deletions tests/Compactor/JavascriptTest.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/RequirementChecker/AppRequirementsFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* @coversNothing
*/
class pAppRequirementsFactoryTest extends TestCase
class AppRequirementsFactoryTest extends TestCase
{
/**
* @dataProvider provideLockContents
Expand Down