Skip to content

Conversation

@shmax
Copy link
Contributor

@shmax shmax commented Aug 27, 2023

Reorganize code to use namespaces and Autoloader.

@shmax shmax changed the base branch from master to fix-tests August 27, 2023 18:01
Base automatically changed from fix-tests to master August 30, 2023 21:56
@shmax shmax merged commit 451487c into master Aug 30, 2023
@shmax shmax deleted the autoloader branch August 30, 2023 23:38
@shmax shmax restored the autoloader branch August 30, 2023 23:45
@ipundit
Copy link
Contributor

ipundit commented Aug 31, 2023

Clean pull of master.

D:\activerecord>npm update

up to date, audited 2 packages in 788ms

found 0 vulnerabilities

D:\activerecord>composer test

phpunit
PHPUnit 10.3.2 by Sebastian Bergmann and contributors.

Error in bootstrap script: Error:
Class "ActiveRecord\Config" not found
#0 D:\activerecord\vendor\phpunit\phpunit\src\TextUI\Application.php(299): include_once()
#1 D:\activerecord\vendor\phpunit\phpunit\src\TextUI\Application.php(98): PHPUnit\TextUI\Application->loadBootstrapScript('D:\activerecord...')
#2 D:\activerecord\vendor\phpunit\phpunit\phpunit(99): PHPUnit\TextUI\Application->run(Array)
#3 D:\activerecord\vendor\bin\phpunit(122): include('D:\activerecord...')
#4 {main}
Script phpunit handling the test event returned with error code 2

@shmax shmax deleted the autoloader branch August 31, 2023 14:54
@shmax
Copy link
Contributor Author

shmax commented Aug 31, 2023

You may have to do this:

composer install

...to regenerate the class map in the autoloader space.

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.

3 participants