This repository was archived by the owner on May 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 3535 - " 7.3"
3636 - " 7.4"
3737 - " 8.0"
38+ - " 8.1"
39+ - " 8.2"
40+ - " 8.3"
41+ - " 8.4"
3842
3943 services :
4044 samba :
5054 steps :
5155 - name : Install packages
5256 run : |
53- sudo apt-get install smbclient
57+ sudo apt-get install smbclient libsmbclient-dev
5458 - uses : actions/checkout@v3
5559 - name : Setup PHP
5660 uses : shivammathur/setup-php@v2
@@ -222,17 +226,18 @@ jobs:
222226 - " 8.0"
223227 - " 8.1"
224228 - " 8.2"
229+ - " 8.3"
225230
226231 steps :
227232 - name : krb5-dev
228- run : sudo apt-get install -y libkrb5-dev
233+ run : sudo apt-get install -y libkrb5-dev libsmbclient-dev
229234 - name : Checkout
230235 uses : actions/checkout@v3
231236 - name : Set up php
232237 uses : shivammathur/setup-php@master
233238 with :
234239 php-version : " ${{ matrix.php-version }}"
235- tools : composer:v1
240+ tools : composer:v2
236241 coverage : none
237242 extensions : apcu, smbclient, krb5
238243 env :
Original file line number Diff line number Diff line change 1212 * @psalm-consistent-constructor
1313 */
1414class Exception extends \Exception {
15- public function __construct (string $ message = "" , int $ code = 0 , Throwable $ previous = null ) {
15+ public function __construct (string $ message = "" , int $ code = 0 , ? Throwable $ previous = null ) {
1616 parent ::__construct ($ message , $ code , $ previous );
1717 }
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class InvalidRequestException extends Exception {
1212 */
1313 protected $ path ;
1414
15- public function __construct (string $ path = "" , int $ code = 0 , \Throwable $ previous = null ) {
15+ public function __construct (string $ path = "" , int $ code = 0 , ? \Throwable $ previous = null ) {
1616 $ class = get_class ($ this );
1717 $ parts = explode ('\\' , $ class );
1818 $ baseName = array_pop ($ parts );
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ class ServerFactory {
3333 * @param ITimeZoneProvider|null $timeZoneProvider
3434 */
3535 public function __construct (
36- IOptions $ options = null ,
37- ISystem $ system = null ,
38- ITimeZoneProvider $ timeZoneProvider = null
36+ ? IOptions $ options = null ,
37+ ? ISystem $ system = null ,
38+ ? ITimeZoneProvider $ timeZoneProvider = null
3939 ) {
4040 if (is_null ($ options )) {
4141 $ options = new Options ();
You can’t perform that action at this time.
0 commit comments