Skip to content

Conversation

flaviozantut
Copy link
Contributor

Fix Fatal error on Class 'Illuminate\Filesystem' not found in /vendor/laravel/framework/src/Illuminate/Workbench/Starter.php on line 16

Fix Fatal error on Class 'Illuminate\Filesystem' not found in /vendor/laravel/framework/src/Illuminate/Workbench/Starter.php on line 16
taylorotwell added a commit that referenced this pull request Jan 11, 2013
Fix Fatal error on Class 'Illuminate\Filesystem' load
@taylorotwell taylorotwell merged commit afbb5e8 into laravel:master Jan 11, 2013
@spinegar spinegar mentioned this pull request Apr 1, 2013
ethaizone added a commit to ethaizone/framework that referenced this pull request Jul 1, 2013
Obfuscate to only characters < 128. For protect this method will break UTF-8 string.
@bachmacintosh bachmacintosh mentioned this pull request Oct 9, 2014
@kirkbushell kirkbushell mentioned this pull request Nov 24, 2014
taylorotwell pushed a commit that referenced this pull request Nov 26, 2014
christoph-kluge added a commit to christoph-kluge/framework that referenced this pull request Apr 22, 2023
taylorotwell pushed a commit that referenced this pull request Dec 21, 2023
…e string, null given (#49467)

* + Added test that reproduces bug

* + Added fix that resolves bug

* Update src/Illuminate/Filesystem/functions.php

Co-authored-by: Mior Muhammad Zaki <[email protected]>

* Update src/Illuminate/Filesystem/functions.php

Co-authored-by: Mior Muhammad Zaki <[email protected]>

* ~ Don't explicitly test for null

---------

Co-authored-by: Mior Muhammad Zaki <[email protected]>
LukeTowers added a commit to LukeTowers/framework that referenced this pull request Jul 23, 2025
Fixes laravel#56152 which was caused by the incorrect parameters being used for a more specific type hint docblock merged in laravel#55687. 

This currently causes issues with projects that use static analysis and make use of the $builder->blueprintResolver() method to resolve custom blueprints.

Example below:

 ------ ---------------------------------------------------------------------------------------------------------- 
  Line   Database/DatabaseServiceProvider.php                                                                      
 ------ ---------------------------------------------------------------------------------------------------------- 
  :109   Parameter laravel#1 $connection of class Winter\Storm\Database\Schema\Blueprint constructor expects              
         Illuminate\Database\Connection, string given.                                                             
         🪪  argument.type                                                                                         
  :109   Parameter laravel#2 $table of class Winter\Storm\Database\Schema\Blueprint constructor expects string, Closure   
         given.                                                                                                    
         🪪  argument.type                                                                                         
  :109   Parameter laravel#3 $callback of class Winter\Storm\Database\Schema\Blueprint constructor expects Closure|null,  
         string given.                                                                                             
         🪪  argument.type                                                                                         
 ------ ----------------------------------------------------------------------------------------------------------
taylorotwell pushed a commit that referenced this pull request Jul 23, 2025
* Fix incorrect docblock for custom builder resolvers

Fixes #56152 which was caused by the incorrect parameters being used for a more specific type hint docblock merged in #55687. 

This currently causes issues with projects that use static analysis and make use of the $builder->blueprintResolver() method to resolve custom blueprints.

Example below:

 ------ ---------------------------------------------------------------------------------------------------------- 
  Line   Database/DatabaseServiceProvider.php                                                                      
 ------ ---------------------------------------------------------------------------------------------------------- 
  :109   Parameter #1 $connection of class Winter\Storm\Database\Schema\Blueprint constructor expects              
         Illuminate\Database\Connection, string given.                                                             
         🪪  argument.type                                                                                         
  :109   Parameter #2 $table of class Winter\Storm\Database\Schema\Blueprint constructor expects string, Closure   
         given.                                                                                                    
         🪪  argument.type                                                                                         
  :109   Parameter #3 $callback of class Winter\Storm\Database\Schema\Blueprint constructor expects Closure|null,  
         string given.                                                                                             
         🪪  argument.type                                                                                         
 ------ ----------------------------------------------------------------------------------------------------------

* Update src/Illuminate/Database/Schema/Builder.php

* Apply suggestions from code review
tivvie added a commit to mogic-le/php84-laravel-framework-11 that referenced this pull request Sep 24, 2025
tivvie added a commit to mogic-le/php84-laravel-framework-11 that referenced this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants