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

Make it a composer project so it can, you know, work... #1

Merged
merged 8 commits into from
Apr 3, 2018

Conversation

shauno
Copy link
Contributor

@shauno shauno commented Mar 23, 2018

No description provided.

@@ -0,0 +1,2 @@
/vendor/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vendor*

Copy link
Contributor Author

@shauno shauno Mar 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's how the composer init command sets it, but ¯\_(ツ)_/¯

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then should the idea/ directory be the same: .idea*?
I think I prefer how it is now, you're trying to exclude the directory, you don't need a wildcard

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

* @param $namespace
* @param string $language
*/
public function __construct($namespace, $language = 'en-US')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$this->language = $language

* @return ErrorCatalogItem
*/
public function getItem($name)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should this method return if it doesn't find the item?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now, return null;. Maybe we should add a default at a later stage

/**
* @var string The JSON pointer to identify the issue
*/
protected $jsonPointer;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really a json pointer though is it? What exactly is this extra identifier?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe call this reference

@@ -0,0 +1,2 @@
/vendor/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/**
* @var string The JSON pointer to identify the issue
*/
protected $jsonPointer;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe call this reference

* @return ErrorCatalogItem
*/
public function getItem($name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now, return null;. Maybe we should add a default at a later stage

Copy link
Contributor

@Ed-leRoux Ed-leRoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Ed-leRoux Ed-leRoux merged commit eea86d2 into pandaleague:master Apr 3, 2018
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.

2 participants