• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ocramius / CodeGenerationUtils
90%

Build:
DEFAULT BRANCH: master
Repo Added 27 Jul 2013 12:34AM UTC
Files 25
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 0.2.0
  • 0.3.0
  • 0.3.1
  • 0.3.2
  • master

pending completion
26

Pull #5

travis-ci

flip111
Update ParameterEncoder.php

There are some problems with the original implementation

1. when $parameters is big the filename gets too long for the OS
2. base64_encode can generate a string that starts as a number. But this function is used to generate class names, and classes may not start with a number
3. uses characters which are not present on the keyboard `†‡•`

sha256 should generate a string long enough to avoid collision
prefixed `C` to have it start with a letter (i choose `C` because of Class)
Pull Request #5:

1 of 1 new or added line in 1 file covered. (100.0%)

260 of 289 relevant lines covered (89.97%)

13.36 hits per line

Relevant lines Covered
Build:
Build:
289 RELEVANT LINES 260 COVERED LINES
13.36 HITS PER LINE
Source Files on master
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26 master Update ParameterEncoder.php There are some problems with the original implementation 1. when $parameters is big the filename gets too long for the OS 2. base64_encode can generate a string that starts as a number. But this function is used to... Pull #5 23 Nov 2015 02:31PM UTC flip111 travis-ci pending completion  
25 0.3.2 Merge pull request #4 from tamcap/tamcap-php7 Update nikic/php-parser to 1.3.* push 01 Jul 2015 12:31AM UTC Marco Pivetta travis-ci pending completion  
24 master Merge pull request #4 from tamcap/tamcap-php7 Update nikic/php-parser to 1.3.* push 01 Jul 2015 12:20AM UTC Ocramius travis-ci pending completion  
23 master Disabling HHVM failure check on Travis Pull #4 30 Jun 2015 02:51PM UTC Marek Laska travis-ci pending completion  
22 master Disabling HHVM failure check on Travis Pull #4 30 Jun 2015 06:17AM UTC Marek Laska travis-ci pending completion  
21 master Update nikic/php-parser to 1.3.* * Update MethodDisablerVisitor.php and composer.json * This commit is consistent with the changes made in php-parser v. 1.3 which also makes the whole thing php7 compatible Pull #4 29 Jun 2015 11:52PM UTC Marek Laska travis-ci pending completion  
20 0.3.1 Merge pull request #3 from remicollet/issue-parser11 allow nikic/php-parser 1.1 push 25 Feb 2015 02:10PM UTC Marco Pivetta travis-ci pending completion  
19 master Merge pull request #3 from remicollet/issue-parser11 allow nikic/php-parser 1.1 push 25 Feb 2015 02:05PM UTC Marco Pivetta travis-ci pending completion  
18 master use more relax, nikic/php-parser ~1.0 Pull #3 25 Feb 2015 01:45PM UTC Remi Collet travis-ci pending completion  
17 master allow nikic/php-parser 1.1 Pull #3 25 Feb 2015 01:29PM UTC Remi Collet travis-ci pending completion  
See All Builds (22)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc