Skip to content
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

Move the tests directory to PSR-4 autoloading #332

Merged
merged 2 commits into from
Jan 29, 2020
Merged

Move the tests directory to PSR-4 autoloading #332

merged 2 commits into from
Jan 29, 2020

Commits on Jan 25, 2020

  1. Prefer composer autoload over Autoload.php

    For details on composer autoload, see:
    
    https://getcomposer.org/doc/04-schema.md#autoload
    
    This helps move from a custom maintained autoload function to a standard
    one built by composer. Composer's autoload function is widely used by
    the larger PHP community and is well tested. To maintain backwards
    compatibility, Autoload.php is still included, but emits a warning.
    
    This helps moves the project towards adopting the community standard
    PSR-4 autoloading:
    
    https://www.php-fig.org/psr/psr-4/
    jdufresne committed Jan 25, 2020
    Configuration menu
    Copy the full SHA
    dde1fa1 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Move the tests directory to PSR-4 autoloading

    This is first step towards moving the package to a namespace and the
    composer PSR-4 autoloader. The "classmap" autoloader is no longer used
    for tests.
    
    As the tests are not part of the public API, this is backwards
    compatible.
    
    Uses the PhpCas namespace.
    
    Refs #188
    jdufresne committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    51da681 View commit details
    Browse the repository at this point in the history