Giter Site home page Giter Site logo

jason-napolitano / php-exceptions Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 896 KB

A collection of practical exception classes for more verbose PHP exception handling

Home Page: https://packagist.org/packages/jason-napolitano/php-exceptions

License: MIT License

PHP 100.00%
exceptions oop php php7

php-exceptions's People

Contributors

jason-napolitano avatar peter279k avatar

Watchers

 avatar

php-exceptions's Issues

Add new exceptions

This issue is open to remind me to add the following exceptions by the 1.0.0 milestone.

  • \Exceptions\Authentication\*
  • \Exceptions\Authorization\*
  • \Exceptions\Encryption\*
  • Add tests for the above

Removing namespace block

According to the official PHP doc, the namespace is doc only for multiple namespaces in same PHP file.

I think these blocks should be removed because there're no PHP files with multiple namespaces in tests and src directories.

Add coveralls for this project to have code coverage report

It seems that the coveralls badge is available in README, but we don't integrate this code coverage service in this repository.

To integrate the coveralls service, I think we have to install the php-coveralls package and generate the coveralls.xml via phpunit running unit tests.

Then upload coveralls.xml report via php-coveralls package to specific code coverage page for this repository.

Overhaul test suites

So, I want to better separate current test components. I have started to implement a new strategy for future tests to follow, as seen in 920b6fb and e744669. This strategy is: a single test per exception class. This issue was opened to remind me to finish by the 1.0.0 milestone

TODO LIST

  • \Tests\Authentication
  • \Tests\FileSystem
  • \Tests\Collection
  • \Tests\Operation
  • \Tests\Helpers
  • \Tests\HTTP
  • \Tests\Intl
  • \Tests

Travis CI integration

As title, I think we can integrate CI service.

And this work can let every upcoming PRs and commits do tests automatically.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.