Giter VIP home page Giter VIP logo

lhttps's Issues

Refactor Config.__construct()

I've selected Config.__construct() for refactoring, which is a unit of 20 lines of code. Addressing this will make our codebase more maintainable and improve Better Code Hub's Write Short Units of Code guideline rating! ๐Ÿ‘

Here's the gist of this guideline:

  • Definition ๐Ÿ“–
    Limit the length of code units to 15 lines of code.
  • Whyโ“
    Small units are easier to analyse, test and reuse.
  • How ๐Ÿ”ง
    When writing new units, don't let them grow above 15 lines of code. When a unit grows beyond this, split it in smaller units of no longer than 15 lines.

You can find more info about this guideline in Building Maintainable Software. ๐Ÿ“–


โ„น๏ธ To know how many other refactoring candidates need addressing to get a guideline compliant, select some by clicking on the ๐Ÿ”ฒ next to them. The risk profile below the candidates signals (โœ…) when it's enough! ๐Ÿ


Good luck and happy coding! :shipit: โœจ ๐Ÿ’ฏ

PHP Warning: require(/home/madeny/lhttps/vendor/autoload.php):

PHP Warning: require(/home/runnel/lhttps/vendor/autoload.php): failed to open stream: No such file or directory in /home/runnel/lhttps/lh on line 3
PHP Fatal error: require(): Failed opening required '/home/runnel/lhttps/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/runnel/lhttps/lh on line 3

PHP Warning: file_put_contents(/home/runnel/lhttps/cert/cnf/v3.ext):

failed to open stream: Permission denied in /home/runnel/lhttps/src/Openssl.php on line 21
PHP Warning: file_put_contents(/home/runnel/lhttps/cert/cnf/openssl.cnf): failed to open stream: Permission denied in /home/runnel/lhttps/src/Openssl.php on line 42
sh: 1: cannot create /home/runnel/lhttps/cert/live/process: Permission denied
sh: 1: cannot create /home/runnel/lhttps/cert/csr/process: Permission denied

Uncaught Error: Class 'Madeny\lhttps\CreatorCommand' not found

When using the following command:

$ php lh create mysite.test

I get the following error:

Fatal error: Uncaught Error: Class 'Madeny\lhttps\CreatorCommand' not found in /Users/solepixel/sites/lhttps/lh on line 8

Error: Class 'Madeny\lhttps\CreatorCommand' not found in /Users/solepixel/sites/lhttps/lh on line 8

Call Stack:
    0.0013     393000   1. {main}() /Users/solepixel/sites/lhttps/lh:0

It's been a while since I used this, does it still work? I followed the steps in the README. Am I doing something wrong?

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.