Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

feat: created CNPJ mask filter and applied it in Client model. #105

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andrebian
Copy link
Contributor

This feat references the issue #104 (#104)


class ApplicationTestCase extends PHPUnit_Framework_TestCase
class ApplicationTestCase extends TestCase
Copy link
Contributor

Choose a reason for hiding this comment

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

Class extends undeclared class \PHPUnit\Framework\TestCase

$cnpj = $this->removeMask($cnpj);

// applying 14 digits
$cnpj = str_pad($cnpj, 14, '0', STR_PAD_LEFT);
Copy link
Contributor

Choose a reason for hiding this comment

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

Argument 1 (input) is int but \str_pad() takes string

@eminetto
Copy link
Contributor

eminetto commented Oct 9, 2018

Ebert has finished reviewing this Pull Request and has found:

  • 1 possible new issue (including those that may have been commented here).
  • 1 fixed issue! 🎉

You can see more details about this review at https://ebertapp.io/github/Coderockr/orcamentos/pulls/105.


class ApplicationTestCase extends PHPUnit_Framework_TestCase
class ApplicationTestCase extends \PHPUnit\Framework\TestCase
Copy link
Contributor

Choose a reason for hiding this comment

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

Class extends undeclared class \PHPUnit\Framework\TestCase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants