PHP Classes

File: src/Tools/ModuleGeneratorEnhanced/tests/test-namespace-fix.bat

Recommend this page to a friend!
  Packages of Adrian M   upMVC   src/Tools/ModuleGeneratorEnhanced/tests/test-namespace-fix.bat   Download  
File: src/Tools/ModuleGeneratorEnhanced/tests/test-namespace-fix.bat
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: upMVC
Pure PHP web development without other frameworks
Author: By
Last change:
Date: 2 months ago
Size: 732 bytes
 

Contents

Class file image Download
@echo off echo. echo ==================================== echo Enhanced Module Generator - Quick Test echo ==================================== echo. echo Testing namespace convention fix... echo. REM Test the namespace generation logic php -r "echo 'Input: TestItems -> Namespace: ' . ucfirst(strtolower('TestItems')) . PHP_EOL;" php -r "echo 'Input: testitems -> Namespace: ' . ucfirst(strtolower('testitems')) . PHP_EOL;" php -r "echo 'Input: ANYTHINGELSE -> Namespace: ' . ucfirst(strtolower('ANYTHINGELSE')) . PHP_EOL;" echo. echo ==================================== echo All inputs now generate consistent namespaces! echo Ready to generate modules with correct naming. echo ==================================== echo. pause