Skip to content

ReflectionException #1

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

Closed
flaviozantut opened this issue Jan 11, 2013 · 7 comments
Closed

ReflectionException #1

flaviozantut opened this issue Jan 11, 2013 · 7 comments

Comments

@flaviozantut
Copy link
Contributor

In PHP5.4.9 all controllers get this error:
ReflectionException: Class TestController does not exist

But in PHP5.4.8 the same code runs successfully

@taylorotwell
Copy link
Member

That's odd. Any relevant bugs on PHP issue tracker?

On Jan 10, 2013, at 7:41 PM, flaviozantut notifications@github.com wrote:

In PHP5.4.9 all controllers get this error:
ReflectionException: Class TestController does not exist

But in PHP5.4.8 the same code runs successfully


Reply to this email directly or view it on GitHub.

@flaviozantut
Copy link
Contributor Author

The problem was that the composer was not recreating autoloads files, changed permissions and now everything is Okay

@taylorotwell
Copy link
Member

OK cool.

@christianramsey
Copy link

Which permissions were changed?

@vinaydotblog
Copy link

Even after regenerating files `composer dump-autoload' it's not working.

taylorotwell pushed a commit that referenced this issue Oct 2, 2014
taylorotwell pushed a commit that referenced this issue Dec 16, 2014
Update QueryBuilder test per changes to exists()
DeanWunder pushed a commit to DeanWunder/framework that referenced this issue Dec 5, 2023
Xint0 pushed a commit to Xint0/laravel-framework that referenced this issue Dec 22, 2023
Return false when $value is null.

Avoid TypeError: json_validate(): Argument laravel#1 ($json) must be of type string, null given, when using symfony/polyfill-php83 in PHP < 8.3.

Avoid deprecation warning: json_validate(): Passing null to parameter laravel#1 ($json) of type string is deprecated, when using PHP 8.3.
taylorotwell pushed a commit that referenced this issue Dec 23, 2023
…#49474)

* test: validateJson should return false when value is null

Fails with Laravel Framework 10.38.2 in PHP < 8.3, introduced in #49413

* fix: validateJson should return false when value is null

Return false when $value is null.

Avoid TypeError: json_validate(): Argument #1 ($json) must be of type string, null given, when using symfony/polyfill-php83 in PHP < 8.3.

Avoid deprecation warning: json_validate(): Passing null to parameter #1 ($json) of type string is deprecated, when using PHP 8.3.

---------

Co-authored-by: Rogelio Jacinto <rogelio@elabmexico.com>
Thiritin referenced this issue Mar 13, 2024
* Rehash user passwords when validating credentials

* Fix style violations

* Remove hardcoded password when it's changable

* Shift rehashing into SessionGuard

The Session guard's attempt() method is a better place to apply
rehashing than the validateCredentials() method on the provider.
The latter shouldn't have side-effects, as per it's name.

* Fix style violation

* Add config option to disable rehashing on login

* Clean up rehash flag injection

* Fix contract in DatabaseUserProvider

* Fixing return type in the docblocks

* Use hash_equals() for a secure string comparison

* formatting

* formatting, leverage method on logoutOtherDevices

* Fix spelling of passwords

Co-authored-by: Chrysanthos <48060191+chrysanthos@users.noreply.github.com>

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Co-authored-by: Chrysanthos <48060191+chrysanthos@users.noreply.github.com>
KIKOmanasijev added a commit to KIKOmanasijev/framework that referenced this issue Jul 23, 2024
bensondevs added a commit to bensondevs/framework that referenced this issue Nov 12, 2024
bensondevs added a commit to bensondevs/framework that referenced this issue Nov 12, 2024
@hafezdivandari hafezdivandari mentioned this issue Dec 3, 2024
taylorotwell added a commit that referenced this issue Apr 8, 2025
…ets (#55191)

* [12.x] introduce `Rule::oneOf()` (##54880)

* chore: apply styleCI

* feat: add nested oneOf validation test

* chore: apply styleCI

* refactor: rename `oneof` into `anyof` to fit implementation

* fix: wrong failure message

* feat: update base tests

* feat: add test case

* chore: apply styleCI

* formatting

* feat: allow string fields

* feat: add test and clean nested rules

* chore: apply styleCI

* failing test

* Validation tests (#1)

* feat: add more validation tests

* wip: add failing test

* wip: add basic string rule validations

* chore: rename object fields for better debugging

* refactor: rename ruleSets to rules

* fix: respect array rule validation

---------

Co-authored-by: Christian Ascone <ascone.christian@gmail.com>

* fix: this should be passing because AnyOf has no type relevance and 'required' only checks to see if the field has something in it

---------

Co-authored-by: Christian Ascone <ascone.christian@gmail.com>

---------

Co-authored-by: Christian Ascone <ascone.christian@gmail.com>

* chore: correspond with recent changes https://github.com/brianferri/framework/pull/1/commits/de3b902a950b8f5ba8edaafa273f91d7c6ade295

* chore: remove unused private property

* feat: attribute mapping in favor of potentially indexed mapping

* feat: add more tests

* refactor(tests): remove unnecessary amount of tests, rename parameter properties to be more descriptive/analogous to use cases

* chore: apply styleCI

* feat: add tests to verify compliance with dot notation nesting validator

* formatting

* fix: remove messages

* fix(wip): regression introduced in 14598f6

#55191 (comment)

* feat: implement star rule counter tests for simple and nested rules

Co-authored-by: Christian Ascone <ascone.christian@gmail.com>

* chore: apply styleCI

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Co-authored-by: Christian Ascone <ascone.christian@gmail.com>
yajra added a commit to yajra/framework that referenced this issue Apr 12, 2025
Fix warning when a null value was passed in `Str::title($value)`.

### Error

```
mb_convert_case(): Passing null to parameter laravel#1 ($string) of type string is deprecated
```
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

No branches or pull requests

6 participants