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

feature/cli: Add the bin/anorm.php cli implementing model maker #1

Merged
merged 1 commit into from
Nov 30, 2018

Conversation

cambell-prince
Copy link
Contributor

Adds the bin/anorm.php script for making models from legacy databases.

  • 100% test coverage.
  • Ensure tests don't leak files in tmp folder
  • Make primaryProperty a property on DataMapper rather than a method arg.
  • ModelMaker can now determine the primary key (field) and infer the primaryProperty.
  • Set PDO properties to throw PDOException as early as we can in constructors.
  • Move anorm.php to /bin and add install stanza in composer.json

- 100% test coverage.
- Ensure tests don't leak files in tmp folder
- Make primaryProperty a property on DataMapper rather than a method arg.
- ModelMaker can now determine the primary key (field) and infer the primaryProperty.
- Set PDO properties to throw PDOException as early as we can in constructors.
- Move anorm.php to /bin and add install stanza in composer.json
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.

None yet

1 participant