Skip to content

Commit

Permalink
try emulative lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
smoench committed Nov 17, 2020
1 parent 1c81e42 commit d146a21
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 109 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
fail-fast: false
matrix:
include:
- php: 7.2
tools: "composer:v1"
coverage: "none"
git-fetch-depth: 1
- php: 7.3
tools: "composer:v1"
coverage: "none"
Expand Down
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.2",
"php": "^7.3",
"ext-phar": "*",
"amphp/parallel-functions": "^0.1.3",
"beberlei/assert": "^3.2",
"composer/package-versions-deprecated": "^1.8",
"composer/semver": "^3.2",
"composer/xdebug-handler": "^1.3.2",
"hoa/compiler": "^3.17",
"humbug/php-scoper": "^0.13",
"humbug/php-scoper": "dev-emulative@dev",
"justinrainbow/json-schema": "^5.2.9",
"nikic/iter": "^2.0",
"nikic/php-parser": "^4.2",
Expand All @@ -73,11 +73,17 @@
"suggest": {
"ext-openssl": "To accelerate private key generation."
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:smoench/php-scoper.git"
}
],

"config": {
"bin-dir": "bin",
"platform": {
"php": "7.2.9"
"php": "7.3"
},
"sort-packages": true
},
Expand Down
43 changes: 26 additions & 17 deletions composer.lock

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

2 changes: 1 addition & 1 deletion src/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2855,7 +2855,7 @@ static function (string $path) use ($basePath): string {

$scoper = new SerializablePhpScoper(
static function () use ($whitelistedFiles): Scoper {
$scoper = (new \KevinGH\Box\PhpScoper\Container())->getScoper();
$scoper = (new Container())->getScoper();

if ([] !== $whitelistedFiles) {
return new FileWhitelistScoper($scoper, ...$whitelistedFiles);
Expand Down
84 changes: 0 additions & 84 deletions src/PhpScoper/Container.php

This file was deleted.

0 comments on commit d146a21

Please sign in to comment.