Skip to content

Commit

Permalink
Merge pull request #1855 from jack-worman/Remove_bootstrap
Browse files Browse the repository at this point in the history
Remove bootstrap.php and use latest php version in ci
  • Loading branch information
terrafrost committed Oct 22, 2022
2 parents e798c60 + bd52935 commit 99c7797
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 35 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
env:
update: true
- name: Composer Install
run: composer install --classmap-authoritative --no-interaction --no-cache
- name: Lint
Expand All @@ -31,6 +33,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
env:
update: true
- name: Composer Install
run: composer install --classmap-authoritative --no-interaction --no-cache
- name: PHP_CodeSniffer
Expand All @@ -52,6 +56,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
env:
update: true
- name: Composer Install
run: composer install --classmap-authoritative --no-interaction --no-cache --ignore-platform-req=php
- name: Setup Secure Shell Functional Tests
Expand Down
8 changes: 0 additions & 8 deletions build/psalm_baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15354,14 +15354,6 @@
<code>$type</code>
</UnusedVariable>
</file>
<file src="../phpseclib/bootstrap.php">
<InvalidOperand occurrences="1">
<code>ini_get('mbstring.func_overload')</code>
</InvalidOperand>
<PossiblyFalseOperand occurrences="1">
<code>ini_get('mbstring.func_overload')</code>
</PossiblyFalseOperand>
</file>
<file src="../tests/Functional/Net/SFTPLargeFileTest.php">
<PropertyNotSetInConstructor occurrences="3">
<code>SFTPLargeFileTest</code>
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
"ext-dom": "Install the DOM extension to load XML formatted public keys."
},
"autoload": {
"files": [
"phpseclib/bootstrap.php"
],
"psr-4": {
"phpseclib3\\": "phpseclib/"
}
Expand Down
24 changes: 0 additions & 24 deletions phpseclib/bootstrap.php

This file was deleted.

0 comments on commit 99c7797

Please sign in to comment.